home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / comm / dup40.zip / DUP.TXT < prev   
Text File  |  1992-03-10  |  3KB  |  51 lines

  1.  
  2.                                   DUP v4.0
  3.                               Short Text File
  4.                         Written by Michael MacDonald
  5.                                  09/09/90
  6.                                rev 03/10/92
  7.  
  8.      DUP is a compiled Clipper PRG program.  It is 'freeware'.  No fee is
  9.      expected for it's use. It's purpose is to check RoboComm's NEWxx.DBF
  10.      (the database that keeps  track  of new files on the BBS's you call)
  11.      for duplicate file names. Unless you use the 'preferred bbs' command
  12.      line switch, it will keep the  first  occurrence of a duplicate file
  13.      name  in  the  database  and  delete  the  rest.  If  you  specify a
  14.      'preferred bbs',  DUP will  NOT  delete  file names  from  that  BBS,
  15.      even if they are the first one found.  DUP only marks the records as
  16.      deleted, the database is  not 'packed' or reindexed.   You must have
  17.      RoboComm do that for you.  This way you may look at the records that
  18.      DUP has marked as deleted before actually losing them, if you wish.
  19.  
  20.      DUP  will  also create a text file of the filenames it deletes.  The
  21.      name  of  the text file is  DELETED.FIL.  This is the same file that
  22.      NUKE will write to.   (Another Robo utility by yours truly)  Both of
  23.      these  programs  will append to it if it exists, and create it if it
  24.      doesn't.   This  way  you  can  see which filenames were deleted. In
  25.      addition to marking the filenames as deleted, DUP will also tag them
  26.      if you want.  This is done with the  '/t'  command line switch. This
  27.      can  be  used  to view all the deleted files together. Starting with
  28.      RoboComm  ver  3.x,  there is a sort key called TAGGED, just sort on
  29.      tagged, then CNT/PGDN and you will see all the tagged files.
  30.  
  31.      DUP  can reside anywhere, but you must be in the directory where you
  32.      keep your RoboComm files when you invoke it.  Since DUP rewrites the
  33.      index  NTAG.NTX, if you use the  '/t' switch,  don't invoke DUP with
  34.      that switch  while shelled  out  from RoboComm.   This  could create
  35.      problems  since  that file  is  already open.   The  source code has
  36.      been included for any Clipper users that wish to play with it.
  37.  
  38.                                  Examples
  39.  
  40.         dup                 save first dup, delete rest
  41.         dup /t              save first dup, delete rest and tag them
  42.         dup groupone        save dups from GROUPONE, delete rest
  43.  
  44.  
  45.         dup /t groupone     do both of the above
  46.  
  47.  
  48.                              Michael MacDonald
  49.                         4273 148th Ave NE  Apt E-104
  50.                             Bellevue, WA  98007
  51.